package com.example.musicdemo.adapter

import android.content.Context

import com.example.musicdemo.base.BaseListAdapter
import com.example.musicdemo.model.SongListBean
import com.example.musicdemo.widget.HomeItemView

class HomeAdapter : BaseListAdapter<SongListBean,HomeItemView> () {
    override fun refreshItemView(itemView: HomeItemView, data: SongListBean) {
        itemView.setData(data)
    }

    override fun getItemView(context: Context?): HomeItemView {
        return HomeItemView(context)
    }

}